#!/bin/bash
sudo modprobe vcan
lsmod | grep vcan
sudo ip link add dev vcan0 type vcan
sudo ip link set up vcan0
ip addr show vcan0

# 查看接口统计信息，确认其已启动且准备好接收和发送数据
ip -details -statistics link show vcan0
